package com.example.simin_manage.admim.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @description:
 * @author: panpan
 * @time: 2025/9/14
 */
@Controller
public class HomeController {

    @GetMapping("/")
    public String home() {
        return "redirect:/login.html"; // ⚡访问根路径直接跳登录页
    }

    @GetMapping("/404")
    public String notFound() {
        return "404.html"; // 自定义404页面
    }
}
